<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li>
                    <a href="#/star/content/content_list">数据服务</a>
                </li>
                <li class="active">数据详情</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div style="margin: 10px">
        <div style="float:right;">

        </div>

        <h4 class="sub-header" style="display:inline-block">服务基础信息</h4>

<!--修改开始 -->
      <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12 col-md-12 main">
                <div class="col-md-6 col-md-offset-3">
                    <form name="form" novalidate>
                        <div class="form-group"
                             ng-class="{'has-error':form.demandSide.$error.required,'has-success':!form.demandSide.$error.required}">
                            <label style="padding: 0 0 5px">需求方</label>
                            <input type="text" class="form-control" name="demandSide" ng-model="vm.result.data.demandSide" required />
                            <span ng-show="form.demandSide.$error.required" class="help-block">请填写需求方</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.responsiblePerson.$error.required,'has-success':!form.responsiblePerson.$error.required}">
                            <label style="padding: 0 0 5px">负责人</label>
                            <input type="text" class="form-control" name="responsiblePerson" ng-model="vm.result.data.responsiblePerson" required />
                            <span ng-show="form.responsiblePerson.$error.required" class="help-block">请填写负责人</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.requirementChange.$error.required,'has-success':!form.requirementChange.$error.required}">
                            <label style="padding: 0 0 5px">需求变更</label>
                            <input type="text" class="form-control" name="requirementChange" ng-model="vm.result.data.requirementChange" required />
                            <span ng-show="form.requirementChange.$error.required" class="help-block">请填写需求变更</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.doc.$error.required,'has-success':!form.doc.$error.required}">
                            <label style="padding: 0 0 5px">需求文档</label>
                            <input type="text" class="form-control" name="doc" ng-model="vm.result.data.doc" required />
                            <span ng-show="form.doc.$error.required" class="help-block">请填写需求文档</span>
                        </div>


                        <div class="form-group"
                             ng-class="{'has-error':form.onlineTime.$error.required,'has-success':!form.onlineTime.$error.required}">
                            <label style="padding: 0 0 5px">上线时间</label>
                            <input type="text" class="form-control" name="onlineTime" ng-model="vm.result.data.onlineTime" required />
                            <span ng-show="form.onlineTime.$error.required" class="help-block">请填写上线时间</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.sla.$error.required,'has-success':!form.sla.$error.required}">
                            <label style="padding: 0 0 5px">服务等级SLA</label>
                            <input type="text" class="form-control" name="sla" ng-model="vm.result.data.sla" required />
                            <span ng-show="form.sla.$error.required" class="help-block">请填服务等级SLA</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.storeType.$error.required,'has-success':!form.storeType.$error.required}">
                            <label style="padding: 0 0 5px">存储形式</label>`
                            <input type="text" class="form-control" name="storeType" ng-model="vm.result.data.storeType" required />
                            <span ng-show="form.storeType.$error.required" class="help-block">请填写存储形式</span>
                        </div>


                        <div class="form-group"
                             ng-class="{'has-error':form.dbMessage.$error.required,'has-success':!form.dbMessage.$error.required}">
                            <label style="padding: 0 0 5px">DB信息</label>`
                            <input type="text" class="form-control" name="dbMessage" ng-model="vm.result.data.dbMessage" required />
                            <span ng-show="form.dbMessage.$error.required" class="help-block">请填写DB信息</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.comment.$error.required,'has-success':!form.comment.$error.required}">
                            <label style="padding: 0 0 5px">备注说明</label>`
                            <input type="text" class="form-control" name="comment" ng-model="vm.result.data.comment" required />
                            <span ng-show="form.comment.$error.required" class="help-block">请填写备注说明</span>
                        </div>


                        <div class="form-group"
                             ng-class="{'has-error':form.dataResultDescription.$error.required,'has-success':!form.dataResultDescription.$error.required}">
                            <label style="padding: 0 0 5px">数据结果说明</label>`
                            <input type="text" class="form-control" name="dataResultDescription" ng-model="vm.result.data.dataResultDescription" required />
                            <span ng-show="form.dataResultDescription.$error.required" class="help-block">请填写数据结果说明</span>
                        </div>

                        <div class="form-group"
                             ng-class="{'has-error':form.indexDimension.$error.required,'has-success':!form.indexDimension.$error.required}">
                            <label style="padding: 0 0 5px">指标维度</label>`
                            <input type="text" class="form-control" name="indexDimension" ng-model="vm.result.data.indexDimension" required />
                            <span ng-show="form.indexDimension.$error.required" class="help-block">请填写指标维度</span>
                        </div>


                        <div class="form-group"
                             ng-class="{'has-error':form.indicatorDescription.$error.required,'has-success':!form.indicatorDescription.$error.required}">
                            <label style="padding: 0 0 5px">指标说明</label>`
                            <input type="text" class="form-control" name="indicatorDescription" ng-model="vm.result.data.indicatorDescription" required />
                            <span ng-show="form.indicatorDescription.$error.required" class="help-block">请填写指标说明</span>
                        </div>


                        <div class="form-group"
                             ng-class="{'has-error':form.querySampleData.$error.required,'has-success':!form.querySampleData.$error.required}">
                            <label style="padding: 0 0 5px">样例数据</label>
                            <input type="text" class="form-control" name="querySampleData" ng-model="vm.result.data.querySampleData" required />
                            <span ng-show="form.querySampleData.$error.required" class="help-block">请填写样例数据</span>
                        </div>



                        <div class="form-group"
                             ng-class="{'has-error':form.sampleObtained.$error.required,'has-success':!form.sampleObtained.$error.required}">
                            <label style="padding: 0 0 5px">样例数据获取方式</label>
                            <input type="text" class="form-control" name="sampleObtained" ng-model="vm.result.data.sampleObtained" required />
                            <span ng-show="form.sampleObtained.$error.required" class="help-block">请填写样例数据获取方式</span>
                        </div>









                        <div class="form-group">
                            <input class="btn btn-primary" ng-class="{'disabled':!form.$valid}" type="button" value="确定"
                                   ng-click="form.$valid && addElement()" />
                            <a href="#/star/content/data_service_list" class="btn btn-default">返回</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
      </div>
<!-- 修改结束-->

    </div>
</div>
